package com.example.sunsg.okhttptest.roobo;

/**
 * Created by sunsg on 16/8/9.
 */
public class RooboLoginReq {

    /**
     * action : login
     * data : {"passwd":"560aef4a4d4125c6b2317c938adfd79a","phonenum":"15210110302","pushid":"3834120198865064036","tm":"1470726959271","wifimac":"90:b6:86:ad:61:20","app":{"app":"com.roobo.pudding.android","aver":"1.0","cver":"26","via":"android"},"myid":""}
     */

    private String action;
    /**
     * passwd : 560aef4a4d4125c6b2317c938adfd79a
     * phonenum : 15210110302
     * pushid : 3834120198865064036
     * tm : 1470726959271
     * wifimac : 90:b6:86:ad:61:20
     * app : {"app":"com.roobo.pudding.android","aver":"1.0","cver":"26","via":"android"}
     * myid :
     */

    private DataBean data;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String passwd;
        private String phonenum;
        private String pushid;
        private String tm;
        private String wifimac;
        /**
         * app : com.roobo.pudding.android
         * aver : 1.0
         * cver : 26
         * via : android
         */

        private AppBean app;
        private String myid;

        public String getPasswd() {
            return passwd;
        }

        public void setPasswd(String passwd) {
            this.passwd = passwd;
        }

        public String getPhonenum() {
            return phonenum;
        }

        public void setPhonenum(String phonenum) {
            this.phonenum = phonenum;
        }

        public String getPushid() {
            return pushid;
        }

        public void setPushid(String pushid) {
            this.pushid = pushid;
        }

        public String getTm() {
            return tm;
        }

        public void setTm(String tm) {
            this.tm = tm;
        }

        public String getWifimac() {
            return wifimac;
        }

        public void setWifimac(String wifimac) {
            this.wifimac = wifimac;
        }

        public AppBean getApp() {
            return app;
        }

        public void setApp(AppBean app) {
            this.app = app;
        }

        public String getMyid() {
            return myid;
        }

        public void setMyid(String myid) {
            this.myid = myid;
        }

        public static class AppBean {
            private String app;
            private String aver;
            private String cver;
            private String via;

            public String getApp() {
                return app;
            }

            public void setApp(String app) {
                this.app = app;
            }

            public String getAver() {
                return aver;
            }

            public void setAver(String aver) {
                this.aver = aver;
            }

            public String getCver() {
                return cver;
            }

            public void setCver(String cver) {
                this.cver = cver;
            }

            public String getVia() {
                return via;
            }

            public void setVia(String via) {
                this.via = via;
            }
        }
    }
}
